projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
08e3087
)
(ABORT_RETURN_TYPE, FREE_RETURN_TYPE):
author
Paul Eggert
<eggert@twinsun.com>
Mon, 22 Nov 1999 08:20:53 +0000
(08:20 +0000)
committer
Paul Eggert
<eggert@twinsun.com>
Mon, 22 Nov 1999 08:20:53 +0000
(08:20 +0000)
New macros.
src/s/sunos4-0.h
patch
|
blob
|
history
diff --git
a/src/s/sunos4-0.h
b/src/s/sunos4-0.h
index e648aedab0fc2453d5ac71bc3c10167a6277c87e..78531499a274b56eb9a1ce58e88535f95b2c68e1 100644
(file)
--- a/
src/s/sunos4-0.h
+++ b/
src/s/sunos4-0.h
@@
-24,6
+24,13
@@
#define SYSTEM_MALLOC
+/* SunOS 4.x cc <stdlib.h> declares abort and free to return int. */
+
+#ifndef __STDC__
+#define ABORT_RETURN_TYPE int
+#define FREE_RETURN_TYPE int
+#endif
+
#ifdef __GNUC__
/* We must define mkdir with this arg prototype
to match GCC's fixed stat.h. */